home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Oct 90 / MacApp.Tech$ 10⁄19⁄90 / 2199-Re[3] macapp debugge-Oct90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  2.6 KB  |  65 lines  |  [TEXT/GEOL]

  1. Item    5997407                         19-Oct-90        07:37PDT
  2.  
  3. From:   PHAROS.TECH                     Pharos Tech, Tech Staff,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    RE: Re: RE: macapp debuggery
  8.  
  9. From: Schmitz, Scott D. on Fri, Oct 19, 1990 10:39 AM
  10. Subject: RE: Re: RE: macapp debuggery
  11. To: MacApp
  12.  
  13. Nico,
  14.  
  15. since you were skeptical I decided to find out exactly HOW fast MPW was vs
  16. THINK.  I compiled Calc with -debug and -run against the THINK calc.debug.build
  17. project which is basically the same thing.  For a change to the largest unit
  18. UCalc.p, these were my results:
  19.               Time                 Disk Space for project
  20. MPW 3.01      2:00                  488k
  21. THINK Pascal  0:40                  1176k
  22.  
  23. I have no problem with the extra disk space usage.  I typically only work on a
  24. few projects at a time.  When I am done I can reduce the size of the projects
  25. to around 35k by removing the "object" code which is in the project.  This
  26. means I need to do a full build when I want to build the App again.
  27.  
  28. I found execution speeds for the final compiled standalones (non-debug) to be
  29. comparable as well as the final code size.
  30.  
  31. The execution speed of Calc in the THINK environment with it's debugger
  32. disabled but the MacApp debugger enabled (equilivent to what MPW gives you) was
  33. comparable to running Calc as a standalone.
  34.  
  35. You have an excellent point regarding execution speed with THINK debugging gear
  36. on.  The execution speed of Calc in the THINK environment with it's debugger
  37. enabled slows execution speed by at least 2-3 times.  Someone posted a patch to
  38. the MacApp code which speeded things up some.
  39.  
  40. I have found that with the debugger installed, I don't have to debug my code
  41. with WriteLn's.  It's a total pleasure to be able to step through my source
  42. code's execution and check variables etc.  I would estimate that the time I
  43. spend debugging has at least halved, in spite of the slow debug execution
  44. speeds after I moved to THINK.
  45.  
  46. THINK does have problems in addition to slow debug execution speeds.  Sometimes
  47. my machine locks up when debugging when I select Reset.
  48.  
  49. Scott.
  50. _______________________________________________________________________________
  51.  
  52.     Ok, so THINK's compile/Link times are 3x faster than MPW, but, Project
  53. files take up to 1.5 Mb, and execution time (under TP) are almose half slower
  54. than normal (i.e. finder execution). And I'd say that THINK's compile time for
  55. MacApp isn't 3 times faster than MPW, since it take a looong time to load all
  56. these tables each time you compile...
  57.  
  58.                            Nico...
  59. Nicolas Berloquin
  60. CFI
  61.  
  62.  
  63.  
  64.  
  65.